package com.easidea.tim.service.purchase;

import java.util.List;

import org.springside.core.service.EntityService;

import com.easidea.tim.dao.purchase.PurchaseReturnItemDao;
import com.easidea.tim.entity.purchase.PurchaseReturnItem;

public class PurchaseReturnItemService extends EntityService<PurchaseReturnItem, PurchaseReturnItemDao>{
	private PurchaseReturnItemDao purchaseReturnItemDao;

	@SuppressWarnings("unchecked")
	public List getItemsById(long id){
		return purchaseReturnItemDao.getItemsById(id);
	}
	
	@SuppressWarnings("unchecked")
	public List getItemsByOrderId(long id){
		return purchaseReturnItemDao.getItemsByOrderId(id);
	}

	
	
	public PurchaseReturnItemDao getPurchaseReturnItemDao() {
		return purchaseReturnItemDao;
	}

	public void setPurchaseReturnItemDao(PurchaseReturnItemDao purchaseReturnItemDao) {
		this.purchaseReturnItemDao = purchaseReturnItemDao;
	}

	@Override
	public PurchaseReturnItemDao getEntityDao() {
		// TODO Auto-generated method stub
		return null;
	}
}
